package com.ruoyi.printer.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

/**
 * 打印参数对象 printer_params
 * 
 * @author yanyi
 * @date 2023-07-14
 */
public class PrinterParams implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @TableId(type = IdType.ASSIGN_ID)
    private String paramsId;

    /** 订单id */
    @Excel(name = "订单id")
    private String orderId;

    /** 打印颜色 */
    @Excel(name = "打印颜色")
    private Long paperColor;

    /** 打印方向 */
    @Excel(name = "打印方向")
    private Long paperDirection;

    /** 打印类型 */
    @Excel(name = "打印类型")
    private Long printType;

    /** 纸张类型 */
    @Excel(name = "纸张类型")
    private Long paperType;

    public void setParamsId(String paramsId) 
    {
        this.paramsId = paramsId;
    }

    public String getParamsId() 
    {
        return paramsId;
    }
    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
    public void setPaperColor(Long paperColor) 
    {
        this.paperColor = paperColor;
    }

    public Long getPaperColor() 
    {
        return paperColor;
    }
    public void setPaperDirection(Long paperDirection) 
    {
        this.paperDirection = paperDirection;
    }

    public Long getPaperDirection() 
    {
        return paperDirection;
    }
    public void setPrintType(Long printType) 
    {
        this.printType = printType;
    }

    public Long getPrintType() 
    {
        return printType;
    }
    public void setPaperType(Long paperType) 
    {
        this.paperType = paperType;
    }

    public Long getPaperType() 
    {
        return paperType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("paramsId", getParamsId())
            .append("orderId", getOrderId())
            .append("paperColor", getPaperColor())
            .append("paperDirection", getPaperDirection())
            .append("printType", getPrintType())
            .append("paperType", getPaperType())
            .toString();
    }
}
